package com.caigou.service.impl;

import com.caigou.mapper.cms.ArticleHtmlMapper;
import com.caigou.service.ArticleHtmlService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service("articleHtmlService")
public class ArticleHtmlServiceImpl implements ArticleHtmlService {

    @Resource
    private ArticleHtmlMapper articleHtmlMapper;

    @Override
    public int deleteArticleHtmlByArticleId(String articleId){
        return articleHtmlMapper.deleteArticleHtmlByArticleId(articleId);
    }
}
